<?php

class Core_Controller_Admincp_Storage_Add extends Nuo_Controller_Admincp
{

	protected $_form = 'storage/admincp/local';

	function execute($request)
	{
		Nuo::setVar('breadcrum', array(
			'title' => 'Storage System',
			'toolbar' => 'admincp/core/storage',
		));
		
		$items = Nuo::getTable('core/storage/type') -> fetchAll();

		return Nuo::getView() -> render('core/view/controller/admincp/storage/add', $data = array('items' => $items));
	}

}
